﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDp_Sejud_CalcuBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDp_Sejud_Calcu;

        void Remove(IDp_Sejud_Calcu entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDp_Sejud_Calcu;

        /// <summary>
        /// 计算评判系数：复选措施评判系数计算表
        /// </summary>
        /// <param name="rdwayid"></param>
        /// <param name="measini"></param>
        /// <returns></returns>
        double GetJUDGE_COEF(string rdwayid, string measini);
    }
}
